package com.hmy.equipment.service;

import com.hmy.equipment.domain.HmyGas;
import  com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * 气体检测仪 业务类
 * @author yyh
 */
public interface HmyGasService {
    /**
     * 添加气体检测仪
     * @param gas
     * @return
     */
    public Boolean addGas(HmyGas gas);

    /**
     * 列表查询
     * @param gas 气体检测仪实体类，可做条件查询
     * @return
     */
    public List<HmyGas> selectGasList(HmyGas gas);

    /**
     * 修改单个检测仪
     * @param gas 气体检测仪实体类
     * @return
     */
    public Boolean editGas(HmyGas gas);

    /**
     * 删除检测仪，根据id
     * @param ids id
     * @return
     */
    public Boolean delGas(long[] ids);

    HmyGas selectGasListById(Long id);
}
